home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / unixlib.lha / unix / src / signals.h < prev    next >
C/C++ Source or Header  |  1995-11-27  |  466b  |  22 lines

  1. #ifndef SIGNALS_H
  2. #define SIGNALS_H
  3.  
  4. #include <signal.h>
  5.  
  6. extern void (*_sig_handlers[NSIG])(int);
  7. extern long _sig_mask, _sig_pending;
  8.  
  9. void _sig_dispatch(int sig);
  10. /* Effect: Do the action associated with signal sig if it isn't masked
  11.      Mask it for the duration of the signal exec
  12. */
  13.  
  14. ULONG _check_signals(ULONG extra_sigs);
  15. ULONG _wait_signals(ULONG extra_sigs);
  16. int _handle_signals(ULONG sigs);
  17.  
  18. void _init_signals(void);
  19. void _cleanup_signals(void);
  20.  
  21. #endif
  22.